package mylab.base.foundation.template.dto;

import java.util.HashMap;
import java.util.List;

import lombok.Getter;
import lombok.Setter;
import mylab.base.foundation.template.dto.expression.QC;

@Getter
@Setter
public class QueryParam extends DTO {

    /**
     * 属性序列，逗号分隔
     */
    private String props;

    /**
     * 查询条件
     */
    private List<QC> qcs;

    /**
     * 排序条件，逗号分隔
     * eg: "id asc, name desc"
     */
    private String orders;

    /**
     * 最多查询条数
     */
    private Integer limit;

    private HashMap<String, Object> extra;

}
